@REM Start selenium server. Log to D:\selenium\selenium.log

SET SE_HOME="D:\java developments\selenium\selenium-remote-control-1.0.1-dist\selenium-remote-control-1.0.1\selenium-server-1.0.1"
@SET SEL_LOG_DIR = d:\selenium
@REM Read help: java -jar %SE_HOME%/selenium-server -h
IF EXIST %SEL_LOG_DIR% @GOTO START_SELENIUM ELSE @GOTO CREATE_DIR 
:CREATE_DIR
MKDIR %SEL_LOG_DIR%

:START_SELENIUM
java -jar %SE_HOME%\selenium-server.jar -log %SEL_LOG_DIR%\selenium.log
